import java.util.Scanner;

public class test_11_10 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        while(sc.hasNextInt()){
            int x=sc.nextInt();
            int y=sc.nextInt();
            Data d1=new Data(x,y);
            System.out.println(d1.getX()+d1.getY());
        }
    }
}

class Data{
    private int x;
    private int y;

    public Data(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }
}
